<template>
  <div class="partners">
    <MenuBar></MenuBar>
    <div class="main w">
      <div class="title" :class="pcOrWx?'titlePhone':''">合作客户</div>
      <ul class="content" :class="pcOrWx?'contentPhone':''">
        <li><img src="../assets/pantners/main_pic_one.png" alt="">湖北省人民医院</li>
        <li><img src="../assets/pantners/main_pic_two.png" alt="">重庆江津区中医院</li>
        <li><img src="../assets/pantners/main_pic_three.png" alt="">中国人民解放军总医院301</li>
        <li><img src="../assets/pantners/main_pic_four.png" alt="">武汉大学中南医院</li>
        <li><img src="../assets/pantners/main_pic_five.png" alt="">武汉市东西湖区人民医院</li>
        <li><img src="../assets/pantners/main_pic_six.png" alt="">三峡大学仁和医院</li>
        <li><img src="../assets/pantners/main_pic_seven.png" alt="">华中科技大学同济医学院附属协和医院</li>
        <li>更多</li>
      </ul>
    </div>
    <Footers></Footers>
  </div>
</template>

<script>
  import MenuBar from '../components/menuBar'
  import Footers from '../components/footers'
  import {mapState, mapActions} from "vuex";

  export default {
    name: "partners",
    components: {
      MenuBar,
      Footers,
    },
    computed: {
      ...mapState({
        pcOrWx: (state) => state.config.PC_OR_WX,
      })
    },
  }
</script>

<style scoped lang="less">
.partners{
  width: 100%;
  height: 100%;
  .main{
    background-color: #fff;
    .title{
      height: 80px;
      border-bottom: 1px solid #ccc;
      margin:0 10px;
      box-sizing: border-box;
      font-size: 18px;
      line-height: 80px;
      color: #4bb2df;
      padding-left: 36px;
    }
    .titlePhone{
      text-align: center;
      border-bottom: none;
    }
    .content{
      display: flex;
      flex-wrap:wrap;
      justify-content: space-around;
      padding:40px 2.6% 0 2.6%;
      li{
        width: 250px;
        min-height: 180px;
        text-align: center;
        box-shadow: 0 0 10px 2px #ccc;
        margin-bottom: 40px;
        img{
          display: block;
          margin: 0 auto;
          padding-bottom: 8px;
          margin-top: 38px;
        }
      }
      li:nth-last-of-type(1){
        line-height: 180px;
      }
    }
    .contentPhone{
      padding:0 2.6%;
      li{
        width: 124px;
        min-height: 90px;
        img{
          width: 40px;
          margin-top: 19px;
        }
      }
      li:nth-last-of-type(1){
        line-height: 130px;
      }
    }
  }
}
</style>
